Remove duplicate/unwanted functions
use correct method for update