Update and cleanup composer and commit lock