Updated the composer execution to run either update or install depending on existence of lock file