add new article api resource, fix api image updating, add behat tests

it's private function