Updated the update script to only precompile assets, install gems, and update the database if it has to