fixed updating bike in admin, created api