Update procedure