add check on stock_logs
merage master
update gem