added return true/false to update functions