add delete(),update() method to AbstractModel