fix(update): update conformance with ngResource

 * grouping post and put methods for update
 * support for update by giving the whole object