# Downgrade WP when deploy

**URL:** https://discourse.roots.io/t/downgrade-wp-when-deploy/5574
**Category:** bedrock
**Tags:** deploys
**Created:** 2015-12-24T09:41:20Z
**Posts:** 9
**Showing post:** 6 of 9

## Post 6 by @swalkinshaw — 2015-12-24T16:27:27Z

Sorry I wasn’t clear. You shouldn’t manually edit `composer.lock`.

The steps are:

1. Update `composer.json` to bump/change a version
2. Run `composer update` to update dependencies
3. Commit your changes (for `composer.json` and `composer.lock`)
4. Deploy

---

_[View the full topic](https://discourse.roots.io/t/downgrade-wp-when-deploy/5574)._
