Add updating projects functionality and tests