[bug 838000] fixed update activity declaration to return false and make it inline.